<?php
/**
 * Created by PhpStorm.
 * User: luzhaoyang
 * Date: 2017/7/31
 * Time: 12:07
 */

class home extends Base_Controller
{
    public function __construct()
    {
        parent::__construct();
        $this->load->model('home_model');
    }
    public function index()
    {
//        $docroot="http://localhost:8888/nldou_web";
        $docroot="https://www.nldou.com";
        $customernum = $this->home_model->getTotalCustomerNum();
        $this->load->view('index',array('docroot'=>$docroot,'customernum'=>$customernum));
    }
}